CCIT
coder
Home
Courses
Contact
CCITcoder
Contents
Introduction to Java
History of Java
Features
General Format
Datatypes
DataType and Operation
Datatypes
Operators
Program Input
Conditional statements
If statement
Nested if
Ladder if statement
Ternary Operator
Switch statement
Iterative statements
While loop
for loop
do while
Nested loops
Functions
Introduction and types of function
Function arguments
Function returning value
OOPs
OOPs
Object
Access Specifiers
Methods Returning Value
Nesting of methods
method Overloading
Constructor
Constructor Overloading
Immutablemmutable Objects
String
String
String Buffer
Static Data members
Static Data members
Static Methods
Class Math
Static Initialization Block
Inherintance
Inherintance
Method Overriding
calling base method
Constructors and Inheritance
Types of Inheritance
Single Inhertance
Multi-level Inheritance
Hierarchical Inheritance
Polymorphisam
super keyword
this keyword
final keyword
Abstract keyword
Polymorphism
Aggregation
Interfaces
Applets
Applets
Class Applet
Class Graphics
class Color
AWT
AWT
Class Frame
Class Button
Event Delegation Modal
Class TextField
Class TextArea
Class Label
Class Component
Class Container
Class Checkbox
Class List
Class Choice
Class FlowLayout
Class BorderLayout
Class GridLayout
Class CardLayout
Class Panel
Class Font
Menus
Mouse Events
Window Events
MultiThreading
MultiThreading
class therad
Interface Runnable
I/o
I/O
Class Reader/writer
Class Input/output Stream
Preprocessor Commands
Preprocessor Commands
Exception Handling
Exception Handling
Types of exceptions
throw
finally
User-defined Exceptions
Nested Exceptions
Collection FrameWork
Collection FrameWork
ArrayList
Vector
Stack
Linked List
Array Deque
Hash Set
Hash Map
Contents
Introduction to Java
History of Java
Features
General Format
Datatypes
DataType and Operation
Datatypes
Operators
Program Input
Conditional statements
If statement
Nested if
Ladder if statement
Ternary Operator
Switch statement
Iterative statements
While loop
for loop
do while
Nested loops
Functions
Introduction and types of function
Function arguments
Function returning value
OOPs
OOPs
Object
Access Specifiers
Methods Returning Value
Nesting of methods
method Overloading
Constructor
Constructor Overloading
Immutablemmutable Objects
String
String
String Buffer
Static Data members
Static Data members
Static Methods
Class Math
Static Initialization Block
Inherintance
Inherintance
Method Overriding
calling base method
Constructors and Inheritance
Types of Inheritance
Single Inhertance
Multi-level Inheritance
Hierarchical Inheritance
Polymorphisam
super keyword
this keyword
final keyword
Abstract keyword
Polymorphism
Aggregation
Interfaces
Applets
Applets
Class Applet
Class Graphics
class Color
AWT
AWT
Class Frame
Class Button
Event Delegation Modal
Class TextField
Class TextArea
Class Label
Class Component
Class Container
Class Checkbox
Class List
Class Choice
Class FlowLayout
Class BorderLayout
Class GridLayout
Class CardLayout
Class Panel
Class Font
Menus
Mouse Events
Window Events
MultiThreading
MultiThreading
class therad
Interface Runnable
I/o
I/O
Class Reader/writer
Class Input/output Stream
Preprocessor Commands
Preprocessor Commands
Exception Handling
Exception Handling
Types of exceptions
throw
finally
User-defined Exceptions
Nested Exceptions
Collection FrameWork
Collection FrameWork
ArrayList
Vector
Stack
Linked List
Array Deque
Hash Set
Hash Map
Topics
Menu
AWT-Abstract Window Toolkit
AWT
Java AWT (Abstract Window Toolkit) is an API to develop GUI or window-based applications in java.
AWT Classes
To design GUI applications java provides us different class.
These classes are defined in package java.awt and its sub packages.
We can group these classes in different categories.
Components
Containers
Layout managers
Graphical...etc
Awt-Components
To accept user input awt provides us different classes.
Awt Component classes are
Button
TextField
Label
Checkbox
Choice
List...etc
All these component classes are derived from comman base class Component.
Awt-Containers
A Container is as object which contains awt-components in it.
Awt provides us different container classes such as
Frame
Dialog
Panel
Applet
All these container classes are derived from base class Container.
A Component can be added into container by using method add(Component).
Layout-Managers
A layout manager is an object which arranges components in a container.
Every Container have a LayoutManger attached with it.
The job of the layout manager is to arrange the components which are added into container. i.e. it decides size & position of each Component.
Awt provides us different layout manager classes such as
FlowLayout
GridLayout
BorderLayout
CardLayout
All these layout managers are derived from base class LayoutManager.
A layout Manager of Container can be changed by calling method setLayout(LayoutManager lm) of class Container.
Windows Applications
These are standalone GUI applications.
These applications can be directly executed from our command prompt.
They don't require Applet Container like applets to execute them
For ex: java demoapp
Previous topic
class Color
Next topic
Class Frame
Contents